package com.ruoyi.swimming.service;

import com.ruoyi.swimming.domian.SwimmingTicketWriteOff;

import java.util.List;

/**
 * 泳池核销流水单Service接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface ISwimmingTicketWriteOffService 
{
    /**
     * 查询泳池核销流水单
     * 
     * @param id 泳池核销流水单ID
     * @return 泳池核销流水单
     */
    public SwimmingTicketWriteOff selectSwimmingTicketWriteOffById(Long id);

    /**
     * 查询泳池核销流水单列表
     * 
     * @param swimmingTicketWriteOff 泳池核销流水单
     * @return 泳池核销流水单集合
     */
    public List<SwimmingTicketWriteOff> selectSwimmingTicketWriteOffList(SwimmingTicketWriteOff swimmingTicketWriteOff);

    /**
     * 新增泳池核销流水单
     * 
     * @param swimmingTicketWriteOff 泳池核销流水单
     * @return 结果
     */
    public int insertSwimmingTicketWriteOff(SwimmingTicketWriteOff swimmingTicketWriteOff);

    /**
     * 修改泳池核销流水单
     * 
     * @param swimmingTicketWriteOff 泳池核销流水单
     * @return 结果
     */
    public int updateSwimmingTicketWriteOff(SwimmingTicketWriteOff swimmingTicketWriteOff);

    /**
     * 批量删除泳池核销流水单
     * 
     * @param ids 需要删除的泳池核销流水单ID
     * @return 结果
     */
    public int deleteSwimmingTicketWriteOffByIds(Long[] ids);

    /**
     * 删除泳池核销流水单信息
     * 
     * @param id 泳池核销流水单ID
     * @return 结果
     */
    public int deleteSwimmingTicketWriteOffById(Long id);
}
